package itcast.lsf.ur;

import itcast.lsf.domain.BeanPuttable;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class BeanPutTest {
    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("bean.xml");
        BeanPuttable bp = (BeanPuttable)ac.getBean("beanPuttable");
            bp.toSave();
    }
}
